﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace demo
{
    public partial class ViewPhotoForm : BaseForm
    {
        protected Image m_ImageToView;
        public Image ImageToView
        {
            set { m_ImageToView = value; }
        }

        public ViewPhotoForm()
        {
            HideShowStatusMenu();
            InitializeComponent();
        }
        void pictureBoxPreviewPhoto_Click(object sender, System.EventArgs e)
        {
            this.Close();
        }
        void ViewPhotoForm_Load(object sender, System.EventArgs e)
        {
            //this.pictureBoxPreviewPhoto.BackColor = Color.Azure;
            pictureBoxPreviewPhoto.Image = m_ImageToView;
        }


    }
}